package com.ruoyi.work.service;

import java.util.List;
import com.ruoyi.work.domain.WorkIncoming;

/**
 * 收款认领Service接口
 * 
 * @author ruoyi
 * @date 2021-12-21
 */
public interface IWorkIncomingService 
{
    /**
     * 查询收款认领
     * 
     * @param incomingId 收款认领主键
     * @return 收款认领
     */
    public WorkIncoming selectWorkIncomingByIncomingId(Long incomingId);
    /**
     * 查询收款认领
     *
     * @param incomingIds 收款认领主键
     * @return 收款认领
     */
    public List<WorkIncoming> selectWorkIncomingByIncomingIds(String[] incomingIds);
    /**
     * 查询收款认领列表
     * 
     * @param workIncoming 收款认领
     * @return 收款认领集合
     */
    public List<WorkIncoming> selectWorkIncomingList(WorkIncoming workIncoming);

    /**
     * 新增收款认领
     * 
     * @param workIncoming 收款认领
     * @return 结果
     */
    public int insertWorkIncoming(WorkIncoming workIncoming);

    /**
     * 修改收款认领
     * 
     * @param workIncoming 收款认领
     * @return 结果
     */
    public int updateWorkIncoming(WorkIncoming workIncoming);

    /**
     * 批量删除收款认领
     * 
     * @param incomingIds 需要删除的收款认领主键集合
     * @return 结果
     */
    public int deleteWorkIncomingByIncomingIds(String incomingIds);

    /**
     * 删除收款认领信息
     * 
     * @param incomingId 收款认领主键
     * @return 结果
     */
    public int deleteWorkIncomingByIncomingId(Long incomingId);

    public int insertCancel(WorkIncoming workIncoming);

    public int updateWorkCommission(Long incomingId);
}
